import request from '@/utils/request'
import { ApiModulesRoutes } from '@/consts.js'
/**
 * 查询所有菜单
 * @param {string} menuTypeEnum
 */

export function getAllMenu(menuTypeEnum) {
  return request({
    url: `${ApiModulesRoutes.USER}/menu/findMenuList`,
    method: 'GET',
    params: { menuTypeEnum },
  })
}
